﻿CREATE TABLE [dbo].[ProductBaseInfoImages] (
    [ProductBaseID] BIGINT           NOT NULL,
    [ImageID]       UNIQUEIDENTIFIER NOT NULL,
    [Sort]          INT              NOT NULL,
    CONSTRAINT [PK_PRODUCTBASEINFOIMAGES] PRIMARY KEY CLUSTERED ([ProductBaseID] ASC, [ImageID] ASC)
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'排序', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'ProductBaseInfoImages', @level2type = N'COLUMN', @level2name = N'Sort';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'图片标识', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'ProductBaseInfoImages', @level2type = N'COLUMN', @level2name = N'ImageID';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'商品基本信息标识', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'ProductBaseInfoImages', @level2type = N'COLUMN', @level2name = N'ProductBaseID';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'商品基本信息图片', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'ProductBaseInfoImages';

